package cn.cvs.dao;


import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {

  SysUser findByAccount(@Param("account") String account);

  List<SysUser> list(@Param("realName") String realName,
                     @Param("roleId") Integer roleId,
                     @Param("startIndex") Integer startIndex,
                     @Param("pageSize")Integer pageSize);

//    int count(@Param("realName") String realName, @Param("roleId") Integer roleId);

}
